package com.shen.computer;

/**
 * Author:shen
 * CreateDate:2020/5/17.
 * Function:
 */
public interface USB {
    double V = 1.5;

    public void plug();

    public void work();

    // 接口的方法允许有默认实现
    public default void show() {
        System.out.println("这是一个USB设备");
        work();
    }
}
